========================================================================
       CONSOLE APPLICATION : espeak
========================================================================

This is a Virtual C++ project to make a command-line version of eSpeak for Windows. This version includes NV speechPlayer, as a replacement for eSpeak's default implementation of the Klatt synthesizer. Specifically, I implemented it as a static library, "speechPlayer.lib", which I then integrated into the eSpeak executable. The source code for this library can be found in the "speechPlayer_lib" subdirectory of the "src" directory. If you need to compile the source, and the included version of "speechPlayer.lib" is not compatible with your compiler, you can recompile it using this source. I included a Visual C++ 2008 Express project for the library, since I used that version to compile this project. However, any recent version of Visual C++ should work as well.
To compile this version of eSpeak, follow these steps.
1. If necessary, compile "speechPlayer.lib" using the source code found in the "speechPlayer_lib" subdirectory of the "SRC" directory. Generally, this should not be necessary if you are using Visual C++ 2008 or newer.
2. Compile eSpeak itself using the following specifications. Remember to also include "speechPlayer.lib" as a dependency, and set your linker to automatically link it into the executable.
Note 1: These specifications are not needed if you are using the included Visual C++ project.
Note 2: All files referenced below can be found in the "src" directory within this source tree.
Note 3: If you compile the code using Visual C++ 2005" or newer, "LIBC.lib" needs to be added to the list of excluded default libraries in the linker configuration.  Failing to exclude this library will result in errors when trying to compile.

========================
    Header Files
========================

debug.h
klatt.h
phoneme.h
sintab.h
sonic.h
speak_lib.h
speech.h
speechPlayer_lib/speechPlayer.h
StdAfx.h
synthesize.h
translate.h
utils.h
voice.h

========================
    Source Files
========================

compiledict.cpp
dictionary.cpp
intonation.cpp
klatt.cpp (Note: This is a wrapper for the speechPlayer functions. This file replaces the original "klatt.cpp" file from the upstream eSpeak source.)
numbers.cpp
phonemelist.cpp
readclause.cpp
setlengths.cpp
sonic.cpp
speak.cpp
StdAfx.cpp
synth_mbrola.cpp
synthdata.cpp
synthesize.cpp
tr_languages.cpp
translate.cpp
voices.cpp
wavegen.cpp

Note: You can also include "espeak.rc" in your project to imbed the eSpeak icon in the resulting executable.

I modified this version of espeak so that it can be used in portable applications where installation is not practical or the "Program Files" directory is not writable.  While I was at it, I also added the "-r" switch to allow for adjusting the parameter "espeakRANGE", which allows inflection to be changed without changing the average pitch of the speech.  The default value for this setting is "50", but I recommend setting it to "75" for more natural sounding speech. If you are using the speechPlayer-based Klatt implementation, set this to "85" instead.

Note:  After the source code is compiled, the "espeak-data" directory, the "dictsource" directory, the resulting "espeak.exe" executable, as well as all included batch scripts within the "BIN" directory of the source tree should be placed in a directory called "Bin". The file "eSpeak-Prompt.bat" should then be placed in the same directory as the "Bin" directory. The "Examples" directory should be placed in the same directory as the "BIN" directory and the file "eSpeak-Prompt.bat". The "Docs" directory is optional, and is not required in releases.